A Framework for Path Sensitive Program Analysis

نویسندگان

  • Vijayaraghavan Murali
  • Joxan Jaffar
  • Jorge A. Navas
  • Andrew E. Santosa
چکیده

We present a framework that produces path-sensitive analyses with different tradeoffs of accuracy and efficiency. The first component is a program transformation that restructures a CFG in order to encode path-sensitivity into it. The method consists of deleting infeasible paths from the CFG while performing selective node splitting based on information captured from infeasible paths. This transformation is fully independent from the analysis and can be built offline. Our initial experiments demonstrate that the size of the resulting CFG increases by a reasonable factor and its use can produce significant accuracy gains for several analyses. The second component is a generic backward algorithm that interleaves the above process with the computation of the analysis. This synergy allows using analysis information in order to decide whether a node should be joined or not. We use the concept of witness that establishes the conditions, using some knowledge from the analysis, to ensure that a node can be joined without incurring in any loss of accuracy. We demonstrate that although more expensive this concept can be implemented producing more precise results.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Path-Sensitive Analysis of Message-Controlled Communication for Android Apps

To support quality development of Android apps, a variety of techniques have been produced for analyzing the exchange of messages, i.e., Intents, among Android components. Intents and their payloads can cause a variety of operations to be performed, and can be filled with malicious data, demonstrating that Intents can serve as attack vectors of an insecure app. Intents may further guard or cont...

متن کامل

Testing a model of L2 communication among Iranian EFL learners: A path analysis framework

Using  willingness  to  communicate  (WTC)  and  socio-educational  models  as  a  framework,  the present study aimed at examining WTC in English and its underlying variables in a sample of 372 Iranian  non-English  major  EFL  learners.  The  data  were  collected  through  self-reported questionnaires.  Path  analysis  framework  using  the  Amos  Program  with  maximum  likelihood estimatio...

متن کامل

Structure of Production with Urban- rural income Inequalities in the Framework of Structural path Analysis: The Case of Iran

The first experimental SAM for Iran was constructed more than three decades ago under the supervision of Prof. Pyatt. Based on this work Prof Pyatt had observed that the way in which Iran was spending oil revenues was likely to exacerbate urban—rural income differentials in Iran. In his approach to SAM he did not distinguish between factorial and institutional income distributions preferring to...

متن کامل

SPAS: Scalable Path-Sensitive Pointer Analysis on Full-Sparse SSA

We present a new SPAS (ScalablePAth-Sensitive)framework for resolving points-to sets in C programs that exploits recent advances in pointer analysis. SPAS enables intraprocedural path-sensitivity to be obtained in flow-sensitive and context-sensitive (FSCS) techniques scalably, by using BDDs to manipulate program paths and by performing pointer analysis level-by-level on a full-sparse SSA repre...

متن کامل

Scalable Path-Sensitive Program Analysis via Dynamic Programming

Path-sensitivity improves program analysis by excluding infeasible paths and avoiding the merging of paths into a single abstraction if they exhibit different behavior. The main challenge however is that path-sensitive analysis is not scalable. In this paper, we present a symbolic execution-based framework which uses dynamic programming (DP) in order to reuse analyses arising from symbolic exec...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011